package com.farm.state;

public class WorkingState implements MachineState {
    @Override
    public void handle(AgriculturalMachineContext context, String machineName) {
        System.out.println(machineName + ": 农机已进入工作状态");
        context.setState(this);
    }

    @Override
    public String toString() {
        return "工作状态";
    }
}